#!/usr/bin/env python
#-*- coding:utf-8 -*- 

from numpy import *

a = array([i for i in range(5)])
print('old a:', a)
a = a[::-1]
print('new a:', a)